#pragma once

#include "base_pay_dbevent.h"
#include "pay_order_user_login.h"

class CDbEvent_UserLogin	: public CBasePayDbEvent
{
public:
	CDbEvent_UserLogin(CPayOrder_UserLogin* pOrder);
	virtual ~CDbEvent_UserLogin();

public:
	virtual RtResult OnRequest();
	virtual RtResult OnResponse();

private:
	RtResult Login();
	string CreateSessionID();
	RtResult InsertLoginLog();

private:
	CPayOrder_UserLogin*	m_pOrder;
};






